
<html>
<head>
    <script>

        const fontFamilyIndex = {
            "sans-serif": {
                type: 'sans-serif'
            },
            "serif": {
                type: 'serif'
            },
            "monospace": {
                type: 'monospace'
            },
            "helvetica": {
                type: 'sans-serif'
            },
            "arial": {
                type: 'sans-serif'
            },
            "tehoma": {
                type: 'sans-serif'
            },
            "geneva": {
                type: 'sans-serif'
            },
            "gadget": {
                type: 'sans-serif'
            },
            "times new roman": {
                type: 'serif'
            },
            "courier new": {
                type: 'monospace'
            },
            "courier": {
                type: 'monospace'
            },
            "lucida console": {
                type: 'monospace'
            },
            "monaco": {
                type: 'monospace'
            },
            "verdana": {
                type: 'sans-serif'
            },
            "georgia": {
                type: 'serif'
            },
            "palatino": {
                type: 'serif'
            },
            "palatino linotype": {
                type: 'serif'
            },
            "book antiqua": {
                type: 'serif'
            },
            "garamond": {
                type: 'serif'
            },
            "bookman": {
                type: 'serif'
            },
            "comic sans ms": {
                type: 'sans-serif'
            },
            "trebuchet ms": {
                type: 'sans-serif'
            },
            "arial black": {
                type: 'sans-serif'
            },
            "impact": {
                type: 'sans-serif'
            },
            "charcoal": {
                type: 'sans-serif'
            },

        }

        function replaceFonts() {

            // TODO go through all the stylesheets looking for font-family and
            // then keep the CSS selectors and then replace them when I'm done.

        }

    </script>
</head>
</html>
